NDepend.API Documentation
SaveMetricValues(DateTime,IEnumerable<MetricValue>) Method
NDepend.Trend Namespace > ITrendStore Interface > SaveMetricValues Method : SaveMetricValues(DateTime,IEnumerable<MetricValue>) Method
The date of the metric values to save.
The metric values to save.
Save one or several dated metrics values.
Syntax

Parameters

date
The date of the metric values to save.
metricsValues
The metric values to save.
Exceptions
ExceptionDescription
metricsValues contains some metrics with the same name.
An error occurred while persisting in the trend store.
Remarks
If for one or several metrics in metricsValues, values defined at date already exist, they are overridden by the new values.
The date equality is defined if the two dates represent the same dated second, no matter the number of miliseconds.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ITrendStore Interface
ITrendStore Members
Overload List